# 作者：lian
def input_passworld():
    pwd = input("请输入密码：")

    if len(pwd)>=8:
        return pwd
    raise Exception("密码长度必须大于等于8位")


if __name__ == '__main__':
    try:
        print(input_passworld())
    except Exception as result:
        print(result)
